package com.CST.mapper.ecology;

import com.CST.bo.cb.FaVouchersBO;
import com.CST.dto.cb.JxAssetValueDTO;
import com.CST.entity.cb.JxAssetValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author nmx
 * @since 2023-06-20
 */
@Mapper
public interface JxAssetValueMapper extends BaseMapper<JxAssetValue> {

    /**
     * 根据年月查询到对应的固定资产原值数据
     * @param dto
     * @return
     */
    List<JxAssetValue> listAssetValue(@Param("dto") JxAssetValueDTO dto);

    /**
     * 根据资产卡片查询资产信息
     * @param sCardNum
     * @return
     */
    FaVouchersBO getOne(String sCardNum);


}
